﻿using SmartSpace.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.WebForm
{
    public interface INavigationPanel
    {
        void Initiate(IEnumerable<Navigation> navigations, IEnumerable<Shortcut> shortcuts);
        event NavigatingEventHandler Navigating;
    }

    public class NavigatingEventArgs : EventArgs
    {
        public string NavigationCaption { get; set; }
        public Navigation Navigation { get; private set; }
        public NavigatingEventArgs(string navigationCaption, Navigation navigation)
        {
            NavigationCaption = navigationCaption;
            Navigation = navigation;
        }
    }

    public delegate void NavigatingEventHandler(object sender, NavigatingEventArgs e);
}
